package com.demo.villageresidence.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;

/**
 *
 * @TableName tb_feedback
 */
@TableName(value ="tb_feedback")
@Data
public class Feedback implements Serializable {
    /**
     * 反馈表id
     */
    @TableId(type = IdType.AUTO)
    private Integer feedId;

    /**
     * 总体问题
     */
    private String feedQuestion;

    /**
     * 详细描述
     */
    private String feedDescription;

    /**
     * 反馈时间
     */
    private LocalDateTime feedTime;

    /**
     * 反馈状态,分为 0“待回复”和 1“已受理”，初始值为“待回复”
     */
    private Integer feedStatus;

    /**
     * 用户表id,外键（user表-user_id）
     */
    private Integer userId;

    /**
     * 用户
     */
    @TableField(exist = false)
    private User user;

    /**
     * 是否删除
     */
    @TableLogic
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}